<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>测试</title>
    <style>
        .data{
            width:600px;
        }
        .download{
            height: 30px;
            width: 150px;
            background-color: #ACE5F9;
            text-align: center;
            text-decoration: none;
        }
    </style>
</head>
<body>
<div class="test">
    <form action="/test/miss_values/" method="post">
        {% csrf_token %}
    <h4>缺失值处理</h4>
    <select name="miss">
        <option selected="selected">选择处理缺失值方式</option>
        <option value="mean">平均值填补</option>
        <option value="median">中位数填补</option>
        <option value="mode">众数填补</option>
        <option value="delete_miss">删除缺失值</option>
        <option value="inter">插值法填补</option>
    </select>
        <input type="submit" value="确认">
        <div class="data">
            {{ new_data }}
            {{ data1 }}
        </div>
    </form>
</div>
<div class="download">
    <a href="{% url 'download' %}">下载CSV数据</a>
</div>
</body>
</html>